import { ButtonType } from "vant";
export interface ToChatDataOptions {
  name?: string;
  to: string;
}
export const ButtonProps = {
  type: {
    type: String as () => ButtonType,
    default: "primary",
  },
  text: {
    type: String,
    default: "",
  },
  color: {
    type: String,
    default: "",
  },
  block: {
    type: Boolean,
    default: false,
  },
  // 跳聊天室对象
  toChatData: {
    type: Object as () => ToChatDataOptions,
    default: {},
  },
};
